﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace Himp.Platform.Erp
{
    /// <summary>
    /// 物料信息
    /// </summary>
    public class MaterialInfo : FullAuditedAggregateRoot<Guid>, IMultiTenant
    {
        /// <summary>
        /// 物料分类
        /// </summary>
        public Guid MaterialCatgeId { get; set; }

        /// <summary>
        /// 物料分类
        /// </summary>
        public MaterialCatge MaterialCatge { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid MaterialWhseId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string MaterialInfoCodg { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string MaterialInfoName { get; set; }

        /// <summary>
        /// 拼音助记码
        /// </summary>
        public string? Pinyincode { get; set; }

        /// <summary>
        /// 五笔助记码
        /// </summary>
        public string? Wubicode { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string? Spec { get; set; }

        /// <summary>
        /// 型号
        /// </summary>
        public string? Model { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string? Prodplac { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string? Unt { get; set; }

        /// <summary>
        /// 入库单价
        /// </summary>
        public decimal? StoinPric { get; set; }

        /// <summary>
        /// 零售单价
        /// </summary>
        public decimal? RtalPric { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal? MinStock { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal? MaxStock { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal? SafeStock { get; set; }

        public int Srtno { get; set; }

        public bool ValiFlag { get; set; }

        public string? MaterialPropertyCode { get; set; }

        public string? MaterialPropertyName { get; set; }

        /// <summary>
        /// 说明
        /// </summary>
        public string? Descr { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? TenantId { get; set; }
    }
}
